package com.hhkj.admin.bank.service.biz;

import com.hhkj.admin.bank.domain.BankRule;
import com.hhkj.admin.bank.model.req.BankRuleReq;
import com.hhkj.admin.bank.model.res.BankRuleRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;

/**
 * BankRuleBizService
 *
 * @author HHKJ-SERVER-ZJ
 * @since 2023/6/8 14:45
 */
public interface BankRuleBizService
        extends BaseBizService<BankRule, BankRuleReq, BankRuleRes>
{

    /**
     * 根据类别id和题库类型id获取规则
     *
     * @param courseParentId   类别id
     * @param courseBankTypeId 题库类型id
     * @return 题库规则信息
     */
    BankRuleRes getByCourseParentIdAndCourseBankTypeId(Long courseParentId, Long courseBankTypeId);

}
